home *** CD-ROM | disk | FTP | other *** search
/ PC PowerPlay 49 / PCPP49a.iso / editors / sofsdk / SoF SDK.msi / _5A9AC2A007424492BA7DC7CA6605484F < prev    next >
Encoding:
Text File  |  2000-03-27  |  721 b   |  29 lines

  1.  
  2.  
  3. #include "../common/header.ds"
  4.  
  5. output "p:/base/ds/tsr1"
  6.  
  7.  
  8. //////////////////////////////////////////////////////////////////////////
  9. // Enemy leans around corner in subway tunnel
  10. //////////////////////////////////////////////////////////////////////////
  11.  
  12. //enemy that leans
  13. local entity tunnelleaner
  14.  
  15. //to target player
  16. local entity sneak
  17.  
  18.  
  19.  
  20. //enemy that leans
  21. tunnelleaner = find entity with targetname "tunnelleaner"
  22. sneak = find entity player
  23.  
  24.  
  25. //spawns leaner
  26. use entity tunnelleaner 
  27. // this is him peeking around the corner firing
  28. animate entity tunnelleaner performing action STD_FCORNERPEAK_RT_P_A targeting entity sneak 
  29. animate entity tunnelleaner performing action SCRIPT_RELEASE